package com.ruoyi.mdkt.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author gwl
 * @since 2022-10-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Goods extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 商品名
     */
    private String name;

    /**
     * 商品库存
     */
    private Integer stock;

    /**
     * 商品价格
     */
    private Integer price;

    /**
     * 商品详情
     */
    private String info;

    /**
     * 商品类型
     */
    private Integer type;

    /**
     * 效果经验加effect
     */
    private Integer effect;

    /**
     * 商品创建UserID
     */
    private Long createUser;

    /**
     * 商品修改UserID
     */
    private Long updateUser;

    /**
     * 商品图片url
     */
    private String url;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;


}
